当前位置: Http > K8S > gitlab 应用

gitlab 应用

2023-05-06 分类:K8S 作者:admin 阅读(32)

git公钥存储位置:C:\Users\Administrator\.ssh

关于引用自建库报错:

go: downloading gitlab.com/hexiaoming1/user v0.0.0-20230506084209-684fde51e9d1 not found: gitlab.com/hexiaoming1/user@v0.0.0-20230506084209-684fde51e9d1: invalid version: git ls-remote -q origin in /tmp/gopath/pkg/mod/cache/vcs/ed66d1d03018dba6c1d087c6637 78f460b1fa4336105d355597465a719af9eb9: exit status 128: fatal: could not read Username for 'https://gitlab.com': terminal prompts disabled Confirm the import path was entered correctly. If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.

问题原因:Go 1.13设置了默认的GOSUMDB=sum.golang.org,它当然是无法识别私有域名xxx.com .

解决:

go env -w GOPROXY=direct

go env -w GOSUMDB=off

go get拉取常见问题

end

「三年博客,如果觉得我的文章对您有用,请帮助本站成长」

赞(0) 打赏

支付宝
微信
0

支付宝
微信
标签:

上一篇:

下一篇:

你可能感兴趣

共有 0 - gitlab 应用

博客简介

精彩评论

  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    分别用不同厚度的筏板定义,画图后这设置筏板变截面处理。 http://f.fwxgx.co...

    评:新文章!
  • admin(6年前 (2020-03-09))

    新增一个框架图! http://biji.jinli.vip/wp-content/upl...

    评:新文章!
  • 一位WordPress评论者(6年前 (2020-02-13))

    嗨,这是一条评论。 要开始审核、编辑及删除评论,请访问仪表盘的“评论”页面。 评论者头像来自...

    评:世界,您好!